]> dgit.raspbian.org Git - gnome-shell.git/commit
userWidget: Add empty label when user is null
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 11 Feb 2020 13:39:22 +0000 (10:39 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 12 Feb 2020 19:29:48 +0000 (19:29 +0000)
commit261d6d35f5db5cee3c2263d77370205ff92ccf3e
tree7c8f8f8e44bd55710522814a95b73398beffaf3c
parent0f34cbb6588e1d9e7a9b0a077ef20a6ea3f78f18
userWidget: Add empty label when user is null

Currently, when a null user is passed, we don't add any
username label. That makes the layout of user and no-user
cases inconsistent.

Add a ghost label with no opacity to mimic the username
label.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922
js/ui/userWidget.js